package com.example.demo.utils.webSocketUtils

class IceCandidate {
    val sdpMid: String
    val sdpMLineIndex: Int
    val sdp: String
    val serverUrl: String

    constructor(sdpMid: String, sdpMLineIndex: Int, sdp: String) {
        this.sdpMid = sdpMid
        this.sdpMLineIndex = sdpMLineIndex
        this.sdp = sdp
        serverUrl = ""
    }

    internal constructor(sdpMid: String, sdpMLineIndex: Int, sdp: String, serverUrl: String) {
        this.sdpMid = sdpMid
        this.sdpMLineIndex = sdpMLineIndex
        this.sdp = sdp
        this.serverUrl = serverUrl
    }

}